home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / Audio dcmds / Audio CD dcmds.sit / Audio CD dcmds.π / Think Put Lib source / PutUHexWord.c < prev    next >
Text File  |  1994-06-12  |  236b  |  12 lines

  1. void PutText(const char* s, int len );
  2. void __HexToText (unsigned long hex, char* str, short size  /* 0=word, 1=long */ );
  3.  
  4.  
  5. void PutUHexWord(unsigned short h)
  6. {
  7.         char*     str = "0000";
  8.     
  9.     __HexToText (h, str, 0 );
  10.  
  11.     PutText( str, 4 );
  12. }